package cho114366.basic;

public class J01_Department {

	public static void main(String[] args) {
		
		// 1. 변수 선언
		String departnumber;
		String departname;
		String departaddress;
		String departdate;
		String departsubject;
		String departteacher;
		
		String departnumber1;
		String departname1;
		String departaddress1;
		String departdate1;
		String departsubject1;
		String departteacher1;
		
		String departnumber2;
		String departname2;
		String departaddress2;
		String departdate2;
		String departsubject2;
		String departteacher2;
		
		String departnumber3;
		String departname3;
		String departaddress3;
		String departdate3;
		String departsubject3;
		String departteacher3;
		
		String departnumber4;
		String departname4;
		String departaddress4;
		String departdate4;
		String departsubject4;
		String departteacher4;
		
		
		departnumber = "201350050";
		departname = "김태희";
		departaddress = "경기도고양시";
		departdate = "1985.3.22";
		departsubject = "컴퓨터";
		departteacher = "504";
		
		departnumber1 = "201250006";
		departname1 = "송혜교";
		departaddress1 = "서울영등포구";
		departdate1 = "1988.9.17";
		departsubject1 = "컴퓨터";
		departteacher1 = "301";

		departnumber2 = "201252110";
		departname2 = "전지현";
		departaddress2 = "경기도의정부시";
		departdate2 = "1986.4.30";
		departsubject2 = "의상디자인";
		departteacher2 = "445";

		departnumber3 = "201351010";
		departname3 = "수 지";
		departaddress3 = "서울 성북구";
		departdate3 = "1988.7.13";
		departsubject3 = "식품영양";
		departteacher3 = "556";

		departnumber4 = "201353011";
		departname4 = "아이유";
		departaddress4 = "경기도천안시";
		departdate4 = "1987.2.25";
		departsubject4 = "철학";
		departteacher4 = "504";

	
		// 2. 처리
		
		// 3. 결과 출력
		System.out.println("학번\t\t이름\t주소\t\t생년월일\t\t학과명\t교수");
		System.out.println("-------------------------------------------------------------------");
		System.out.print(departnumber);
		System.out.print("\t" + departname);
		System.out.print("\t" + departaddress);
		System.out.print("\t\t" + departdate);
		System.out.print("\t" + departsubject);
		System.out.println("\t" + departteacher);
		
		System.out.println("-------------------------------------------------------------------");
		System.out.print(departnumber1);
		System.out.print("\t" + departname1);
		System.out.print("\t" + departaddress1);
		System.out.print("\t\t" + departdate1);
		System.out.print("\t" + departsubject1);
		System.out.println("\t" +departteacher1);
		
		System.out.println("-------------------------------------------------------------------");
		System.out.print(departnumber2);
		System.out.print("\t" + departname2);
		System.out.print("\t" + departaddress2);
		System.out.print("\t" + departdate2);
		System.out.print("\t" + departsubject2);
		System.out.println("\t"+departteacher2);
		
		System.out.println("-------------------------------------------------------------------");
		System.out.print(departnumber3);
		System.out.print("\t" + departname3);
		System.out.print("\t" + departaddress3);
		System.out.print("\t\t" +departdate3);
		System.out.print("\t" + departsubject3);
		System.out.println("\t"+departteacher3);
		
		System.out.println("-------------------------------------------------------------------");
		System.out.print(departnumber4);
		System.out.print("\t" + departname4);
		System.out.print("\t" + departaddress4);
		System.out.print("\t\t" + departdate4);
		System.out.print("\t" + departsubject4);
		System.out.println("\t"+departteacher4);
		
		
	}

}


